//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.baidu.disconf.web.service.user.bo;

import com.baidu.dsp.common.dao.DB;
import com.baidu.unbiz.common.genericdao.annotation.Column;
import com.baidu.unbiz.common.genericdao.annotation.Table;
import com.github.knightliao.apollo.db.bo.BaseObject;

@Table(db = DB.DB_NAME, name = "user", keyColumn = "user_id")
public class User extends BaseObject<Long> {
    private static final long serialVersionUID = 1L;
    @Column("name")
    private String name;
    @Column("token")
    private String token;
    @Column("password")
    private String password;
    @Column("ownapps")
    private String ownApps;
    @Column("role_id")
    private int roleId;

    public User() {
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getToken() {
        return this.token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getOwnApps() {
        return this.ownApps;
    }

    public void setOwnApps(String ownApps) {
        this.ownApps = ownApps;
    }

    public int getRoleId() {
        return this.roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    public String toString() {
        return "User{name=\'" + this.name + '\'' + ", token=\'" + this.token + '\'' + ", password=\'" + this.password + '\'' + ", ownApps=\'" + this.ownApps + '\'' + ", roleId=" + this.roleId + '}';
    }
}
